#include <EasyTransferI2C.h>
#include <Wire.h>
#include "SerialComs.h"

//for debugging
int ledPin = 13;

void setup()
{
	//init ledpin as output
	pinMode(ledPin, OUTPUT);
	//call fubction to setup the I2C and serial communications
	setup_serialstuff();
}

void loop()
{
  digitalWrite(13, HIGH);   // set the LED on
  delay(500);              // wait for a second
  digitalWrite(13, LOW);    // set the LED off
  delay(500);              // wait for a s
  //Serial3.println("Running");
  ChkForCommand();  //function to check for command from the PC and process it
}

